package com.atguigu.spring.service.impl;

import com.atguigu.spring.dao.api.BookDao;
import com.atguigu.spring.service.api.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BookServiceImpl implements BookService {

    @Autowired
    private BookDao bookDao;

    @Override
    public void doSomething() {
        System.out.println("BookServiceImpl.doSomething()");
        bookDao.doSomething();
    }
}
